home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1990 September: Essentials 4 / ADC Developer CD (1990-09) [Essentials 4]_iso / Developer Essentials 4.iso / d e v e l o p / develop / develop Issue 1 / develop Issue 1.rsrc / PICT_21098_page 27.png < prev    next >
Portable Network Graphic  |  1990-09-25  |  15.4 KB  |  553x727  |  1-bit (2 colors)
   ocr: DRAWING WITH PALETTE COLORS After the palette has been set up, there are several ways to draw with the colors in the palette. In addition to PmForeColor and mBackColor, a pixMlap or pixPat color table may be specified to point to palette entries. To do this, set bit 14 in the ctFlags field of the color table (ctFlags is called transindex in older equate files). Then set the desired palette entry numbers in the value field of each colorSpec. The color table is then assumed to be sequential, as device tables are (colors Spec Orefers to pixel value 0 in the pixMlap or pixPat; color value 1 refers ...